package com.dalei.vdserver.dao;

import java.util.List;

import com.dalei.vdserver.model.DeviceStatus;

public interface DeviceStatusDao {
	
	// Get the status of all devices
	public List<DeviceStatus> getStatusOfAllDevices();
	
	// Get the status of online devices
	public List<DeviceStatus> getStatusOfOnlineDevices();
	
	// Get the status of device by id
	public DeviceStatus getStatusByDeviceId(int deviceId);
	
	// Add the status of device
	public int addStatus(DeviceStatus status);
	
	// Update the status of device
	public int updateStatus(DeviceStatus status);
}
